package com.winchain.chainbill.tbill.base.service.impl;

import com.shell.bee.persistence.service.impl.PersistentServiceImpl;
import com.winchain.chainbill.tbill.base.po.TbDct;
import com.winchain.chainbill.tbill.base.service.TbDctService;
import org.springframework.stereotype.Service;

@Service
public class TbDctServiceImpl extends PersistentServiceImpl<TbDct> implements TbDctService {
	public TbDct getDct(String billId, String dctState) {
		TbDct dct = new TbDct();
		dct.setBillId(billId);
		dct.setDctState(dctState);
		return (TbDct) selectOne(dct);
	}
}
